package cn.itcast.dao;

import cn.itcast.pojo.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BranchCourtsDao {

    /**
     * 分页查询
     * @return
     */
    List<Address> pageQuery();

    void addBranchCourts(Address address);

    Address findById(Integer id);

    void updateBranchCourts(Address address);

    void deleteById(Integer id);

    void updateEnableById(@Param("id") Integer id, @Param("enable") Integer enable);
}
